MsgLogger Object Interface
A custom hook can use the message logger object to add messages to the message log.
The MsgLogger object provides the following methods:
| Method Name | Parameters | Notes |
|---|---|---|
| AddMessage(string) | String — The message to add | |
| AddWarningMessage(string) | String — The warning message to add | Warning messages are prefixed with a ‘[Warning]’ tag. |
| AddErrorMessage(string) | String — The error message to add | Error messages are prefixed with a ‘[Error]’ tag. |
Parent Topic: Project Template Creation